package usbcali.edu.persistencia.control;

import usbcali.edu.persistencia.CentroDeCostos;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface CentroDeCostosLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ICentroDeCostosLogic {
    public List<CentroDeCostos> getCentroDeCostos() throws Exception;

    public void saveCentroDeCostos(String codCc, String descripcion)
        throws Exception;

    public void deleteCentroDeCostos(String codCc) throws Exception;

    public void updateCentroDeCostos(String codCc, String descripcion)
        throws Exception;

    public CentroDeCostos getCentroDeCostos(String codCc)
        throws Exception;

    public List<CentroDeCostos> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<CentroDeCostos> findPageCentroDeCostos(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCentroDeCostos() throws Exception;
}
